package repository;

import domain.Profile;
import domain.User;
import domain.exceptions.DuplicateException;

public interface ProfileRepository {
	public void newProfile(Profile profile) throws DuplicateException;
	public Profile getProfileByUser(User user);
	public Profile getProfile(int id);
}
